package DecoratorPattern;

import DecoratorPattern.Cirle.Shape;

/**
 * @Author: zhaojie
 * @Date: Created in 16:56 2018/6/26
 * @Description: 抽象装饰类
 */
public abstract class ShapeDecorator implements Shape {
    protected Shape decoratedShape;

    public ShapeDecorator(Shape protectShap){
        this.decoratedShape=protectShap;
    }

    public void draw() {
        decoratedShape.draw();
    }
}
